package com.dg.cuckoo.admin.repository;

import com.dg.cuckoo.admin.dto.basicInformation.projectInformation.TheUnitDto;
import com.dg.cuckoo.core.BaseRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TheUnitRepository extends BaseRepository<TheUnitDto, String> {

    List<TheUnitDto> findByByMark(String mark);

    List<TheUnitDto> findByUnit(String unit);

}
